package com.jy.modules.cims.data.interact.core.credit.request;

import java.math.BigDecimal;
import java.util.Date;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;
import org.springframework.validation.annotation.Validated;

@Validated
public class RequestCreditTransferVirtualRepayDTO {

	@NotBlank(message="债权转让编号transferId不能为空")
	private String transferId;
	
	@NotNull(message="合作机构要求月还eachRepaymentValue不能为空")
	private BigDecimal eachRepaymentValue;
	
	@NotNull(message="月还期数eachRepaymentPeriods不能为空")
	private Integer eachRepaymentPeriods;
	
	@NotNull(message="月还日期curRepayDate不能为空")
	private Date curRepayDate;

	public String getTransferId() {
		return transferId;
	}

	public void setTransferId(String transferId) {
		this.transferId = transferId;
	}

	public BigDecimal getEachRepaymentValue() {
		return eachRepaymentValue;
	}

	public void setEachRepaymentValue(BigDecimal eachRepaymentValue) {
		this.eachRepaymentValue = eachRepaymentValue;
	}

	public Integer getEachRepaymentPeriods() {
		return eachRepaymentPeriods;
	}

	public void setEachRepaymentPeriods(Integer eachRepaymentPeriods) {
		this.eachRepaymentPeriods = eachRepaymentPeriods;
	}

	public Date getCurRepayDate() {
		return curRepayDate;
	}

	public void setCurRepayDate(Date curRepayDate) {
		this.curRepayDate = curRepayDate;
	}
	
}
